﻿<%@ Page Language="C#" MasterPageFile="~/ControPanel.Master" AutoEventWireup="true"
    CodeBehind="ChangeProfile.aspx.cs" Inherits="Continental.UI.ControlPanel.ChangeProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content">
        <div class="content_panel_left fl">
            <div class="box_container" style="width: 99%;">
                <div class="title_bar">
                    <div>
                        Trang cá nhân</div>
                </div>
                <ul style="padding-left: 10px;">
                    <li><a href="#">Danh sách tin đăng</a> </li>
                    <li><a href="#">Danh sách tin lưu chữ</a> </li>
                    <li><a href="/Thanh-Vien/doi-thong-tin-ca-nhan.aspx">Thay đổi thông tin cá nhân</a>
                    </li>
                    <li><a href="/Thanh-Vien/doi-mat-khau.aspx">Đổi mật khẩu</a> </li>
                    <li><a href="/Thanh-Vien/dang-xuat.aspx" onclick="return confirm('Bạn thực sự muốn hoát');">Thoát/Logout</a> </li>
                </ul>
            </div>
        </div>
        <div class="content_panel_right fr">
            <div class="box_container" style="width: 100%;">
                <div class="title_bar">
                    <div>
                        Thay đổi thông tin cá nhân</div>
                </div>
                <table style="list" cellpadding="0px" cellspacing="0px">
                    <tbody>
                    <tr>
                        <td colspan="2">
                            <%= message %>
                        </td>
                    </tr>
                        <tr>
                            <td>
                                <span>Tên đại diện : </span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtFullName" CssClass="txt_s" runat="server" MaxLength="100"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvFullName" ControlToValidate="txtEmail" runat="server"
                                    ValidationGroup="ChangeProfile" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span>Email đăng nhập : </span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmail" CssClass="txt_s" runat="server" ReadOnly="true"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Image ID="imgAvartar" runat="server" Width="75" Height="75" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span>Avartar </span>
                            </td>
                            <td>
                                <asp:FileUpload ID="fuAvartar" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span>Số điện thoại : </span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtMobile" CssClass="txt_s" runat="server" MaxLength="12"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span>Địa chỉ : </span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtAddress" CssClass="txt_s" runat="server" MaxLength="200"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span>Yahoo : </span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtYahoo" CssClass="txt_s" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span>Skype : </span>
                            </td>
                            <td>
                                <asp:TextBox ID="txtSkype" CssClass="txt_s" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Button ID="btnChangeProfile" runat="server" Text="Thay đổi" CssClass="search_btn blue" ValidationGroup="ChangeProfile"
                                    Width="100px" onclick="btnChangeProfile_Click" />
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
